<?php
/**
 * @file mewdkp-ui-edit-raid.tpl.php
 * Template for the primary raid editing window.
 */
?>
<div class="mewdkp-edit-raid">
  <?php if ($locked): ?>
    <div class="mewdkp-locked">
      <?php print t('This raid is being edited by user !user, and is therefore locked from editing by others. This lock is !age old. Click here to !break.', array('!user' => $locked, '!age' => $lock_age, '!break' => $break)); ?>
    </div>
  <?php endif; ?>
  <div class="mewdkp-basic-info<?php if ($raid->edited) { print " changed"; }?>">
		<?php if ($raid->edited) : ?>
      <div class="raid-changed"><?php print t('This raid has been changed.'); ?></div>
    <?php endif; ?>
    <div class="mewdkp-quick-links">
      <?php print $quick_links ?>
    </div>
  </div>

  <?php print $tabs; ?>
	<?php if ($admin) : ?>
  <div id="mewdkp-ajax-form">
    <div id="mewdkp-ajax-title">
      <?php // This is initially empty ?>
    </div>
    <div id="mewdkp-ajax-pad">
      <?php /* This is sent in because it is also sent out through settings and
      needs to be consistent. */ ?>
      <?php print $message; ?>
    </div>
  </div>
  <?php endif ?>

  <?php print $save_button ?>

</div>
